package com.iflytek.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iflytek.bean.Admin;
import com.iflytek.bean.Employee;
import com.iflytek.mapper.AdminMapper;
import com.iflytek.mapper.EmployeeMapper;
import com.iflytek.service.AdminService;
import com.iflytek.service.EmployeeService;

@Service
public class EmployeeServiceImpl implements EmployeeService{

	@Autowired
	private EmployeeMapper employeeMapper;

	@Override
	public List<Employee> selectByExample(Object object) {
		return employeeMapper.selectByExample(null);
	}

	@Override
	public void insertSelective(Employee employee) {
		employeeMapper.insertSelective(employee);
	}

	@Override
	public void deleteByPrimaryKey(Integer id) {
		employeeMapper.deleteByPrimaryKey(id);
	}

	@Override
	public void updateByPrimaryKeySelective(Employee employee) {
		employeeMapper.updateByPrimaryKeySelective(employee);
	}
	
	

}
